package com.qsw.paper.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author qsw
 * @since 2024-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("thesis_reviews")
@ApiModel(value = "ThesisReviews对象", description = "")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ThesisReviews implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "评审记录唯一标识")
    @TableId(value = "review_id", type = IdType.AUTO)
    private Integer reviewId;

    @ApiModelProperty(value = "论文ID，外键，关联论文表")
    private Integer thesisId;

    @ApiModelProperty(value = "导师ID，外键，关联导师表")
    private Integer advisorId;

    @ApiModelProperty(value = "评审日期")
    private LocalDateTime reviewDate;

    @ApiModelProperty(value = "导师评审意见")
    private String comments;

    @ApiModelProperty(value = "评审状态：0-待审，1-通过，2-不通过")
    private Integer reviewStatus;

    @ApiModelProperty(value = "退回原因（仅在论文版本状态为“不通过”时有效）")
    private String returnReason;

    private Integer score;

}
